import matplotlib.pyplot as plt


class Myplt():
    """自定义plt"""
    def __init__(self):
        plt.style.use('seaborn')
        # 设置中文字体
        plt.rcParams['font.sans-serif'] = ['SimHei']
        plt.rcParams['axes.unicode_minus'] = False
        self.plt = plt
